package com.pinda.service;


import com.pinda.commonutils.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pinda.work.entity.PdTaskPickupDispatch;
import com.pinda.work.entity.PdTickupAndOrder;
import com.pinda.work.vo.Dispatch_Order;

import java.util.List;

/**
 * <p>
 * 取件、派件任务信息表 服务类
 * </p>
 *
 * @author lc
 * @since 2023-06-14
 */
public interface IPdTaskPickupDispatchService extends IService<PdTaskPickupDispatch> {

    List<Dispatch_Order> findDispatchByTaskType(String courierId);
    List<Dispatch_Order> findDispatchByTaskType3(String courierId);
    List<Dispatch_Order> selectreceiving(String courierid);
    List<Dispatch_Order> selectreceiving2(String courierid);
    List<Dispatch_Order> canceled(String courierid);

    List<Dispatch_Order> findDispatchByCourierId(PdTaskPickupDispatch pdTaskPickupDispatch);

    boolean updatareceivingByid4(String id,String id1,int paymentMethod);

    void updatecourierid(PdTickupAndOrder pdTickupAndOrder);

    void updatecourieridone(PdTickupAndOrder pdTickupAndOrder);

    void insertPickup(PdTaskPickupDispatch pdTaskPickupDispatch);
}
